how to use json data in react